﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Runtime.InteropServices;

namespace Entity.Package
{
    /// <summary>
    ///  对明细帐请求包
    /// </summary>   
    public class PackRequestDetailAccount
    {
        //通用结构
        public PackHead packHead;

        private string tradeCode;
        public string TradeCode
        {
            get { return tradeCode; }
            set { tradeCode = value; }
        }
        private string dzDate;
        public string DzDate
        {
            get { return dzDate; }
            set { dzDate = value; }
        }
        private string strokeCount;
        public string StrokeCount
        {
            get { return strokeCount; }
            set { strokeCount = value; }
        }
        private string payMoneyHJ;
        public string PayMoneyHJ
        {
            get { return payMoneyHJ; }
            set { payMoneyHJ = value; }
        }

        public PackRequestDetailAccount()
        { }

        public PackRequestDetailAccount(PackHead pkHead, string valueTradeCode, string valueDZDate,string valueStrokeCount,string valuePayMoneyHJ)
        {
            this.packHead = pkHead;
            this.tradeCode = valueTradeCode;
            this.dzDate = valueDZDate;
            this.strokeCount = valueStrokeCount;
            this.payMoneyHJ = valuePayMoneyHJ;
        }

        public override string ToString()
        {
            return packHead.ToString() + tradeCode + "|" + dzDate + "|" + strokeCount + "|" + payMoneyHJ;
        }
    }
}
